import request from "../http.js";

// 首页所有数据请求

// 首页轮播
export function getBanner() {
    return request({
        url: '/categories',
        method: 'get'
    })
}

export function getCategories(params) {
    return request({
        url: "/category-info",
        method: 'get',
        params
    })
}


